# Define here the models for your scraped items
#
# See documentation in:
# https://docs.scrapy.org/en/latest/topics/items.html

import scrapy


class CaomeiItem(scrapy.Item):
    # define the fields for your item here like:
    # name = scrapy.Field()
    pass


# 只定义了下载需要的图片链接和保存地址字段
class ImgItem(scrapy.Item):
    comic_link = scrapy.Field()
    comic_name = scrapy.Field()
    chapter_link = scrapy.Field()
    chapter_name = scrapy.Field()
    img_link = scrapy.Field()
    img_name = scrapy.Field()
    chapter_dir = scrapy.Field()